package com.moli.iov.alarm.model.dto;

import lombok.Data;

import java.io.Serializable;

@Data
public class StatAlarmLineDTO implements Serializable {
    private Long outFenceAlarmCount;
    private Long inFenceAlarmCount;

    private Long oneLvAlarmCount;
    private Long twoLvAlarmCount;
    private Long threeLvAlarmCount;

    private Long offLineCount;
    private Long mileageExceptionChangeCount;

    private String date;
    private Long companyId;
    private Long vehicleCount;

    public StatAlarmLineDTO(String date,Long companyId){
        setCompanyId(companyId);
        setInFenceAlarmCount(0L);
        setMileageExceptionChangeCount(0L);
        setOffLineCount(0L);
        setOneLvAlarmCount(0L);
        setTwoLvAlarmCount(0L);
        setThreeLvAlarmCount(0L);
        setOutFenceAlarmCount(0L);
        setDate(date);
        setVehicleCount(0L);
    }

    public StatAlarmLineDTO(){

    }
}
